package com.abc.fast.server.user.dao;

import com.abc.fast.server.user.mapper.PermsMapper;
import com.abc.fast.server.user.domain.entity.Perms;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * <p>
 * 权限表 服务实现类
 * </p>
 *
 * @author LiJunXi
 * @since 2024-03-02
 */
@Service
public class PermsDao extends ServiceImpl<PermsMapper, Perms> {

    public Set<String> getPermission(Long uid) {
        return this.baseMapper.getPermission(uid);
    }
}
